<template>
  <div class="position">
    The current position：
    <router-link to="/">Home</router-link> >
    <template v-for="item in data" :key="item[1]">
      <router-link :to="item[1]">{{ item[0] }}</router-link>
      >
    </template>
  </div>
</template>

<script setup lang="ts">
const {data} = defineProps<{
  data: [name: string, path: string][]
}>()
</script>

<style scoped>

</style>